class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string   :username, :password, :limit => 30, :null => false
      t.string   :mail, :limit => 50, :null => false
      t.integer  :valutation_id, :limit => 11, :default => nil

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
